package cn.szq.springframework.context;

import cn.szq.springframework.beans.BeansException;
import cn.szq.springframework.beans.factory.Aware;

/**
 * @description: 实现此接口，既能感知到所属的 ApplicationContext
 * @author: szq
 * @date: 2021-09-11 14:40:46
 */
public interface ApplicationContextAware extends Aware {

    void setApplicationContext(ApplicationContext applicationContext) throws BeansException;
}
